<?php

/* @var think\Route $router */

$router->group(function () use ($router){
    # 登入
//    $router->get('login2', '\catchAdmin\login\controller\Index@login2');
    $router->post('login', '\catchAdmin\login\controller\Index@login');
//    $router->post('getUserInfo', '\catchAdmin\login\controller\Index@getUserInfo');
    $router->get('aa', '\catchAdmin\login\controller\Index@aa');
    $router->get('autorun/ereayday', '\catchAdmin\login\controller\Autorun@ereayday');
    $router->get('ws/event', '\catchAdmin\login\controller\Autorun@event');
    $router->post('autorun/sendweizhi', '\catchAdmin\login\controller\Autorun@sendweizhi');
    $router->post('logout', '\catchAdmin\login\controller\Index@logout');
    $router->post('refresh/token', '\catchAdmin\login\controller\Index@refreshToken');
});


